/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * LabelWithIcon.java
 *
 * Created on 10.06.2010, 20:48:35
 */

package de.jmda.mview;

import de.jmda.util.gui.awt.graphics.IconProvider;

/**
 *
 *
 */
public class LabelWithIcon extends javax.swing.JFrame {

    /** Creates new form LabelWithIcon */
    public LabelWithIcon() {
        initComponents();
//				jLabel1.setIcon(IconProvider.getIconClassInnerDefaultAbstractFinalStatic());
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    jLabel1 = new javax.swing.JLabel();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    getContentPane().setLayout(new java.awt.GridBagLayout());

    jLabel1.setText("jLabel1");
    jLabel1.setPreferredSize(new java.awt.Dimension(34, 14));
    jLabel1.addMouseListener(new java.awt.event.MouseAdapter() {
      public void mouseClicked(java.awt.event.MouseEvent evt) {
        jLabel1MouseClicked(evt);
      }
    });
    getContentPane().add(jLabel1, new java.awt.GridBagConstraints());

    pack();
  }// </editor-fold>//GEN-END:initComponents

		private void jLabel1MouseClicked(java.awt.event.MouseEvent evt)//GEN-FIRST:event_jLabel1MouseClicked
		{//GEN-HEADEREND:event_jLabel1MouseClicked
			System.out.println("clicked" + evt);
		}//GEN-LAST:event_jLabel1MouseClicked

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new LabelWithIcon().setVisible(true);
            }
        });
    }

  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JLabel jLabel1;
  // End of variables declaration//GEN-END:variables

}
